/* pages/orders/orders.wxss */

.orders {
  width: 100%;

  .top-process {
    display: flex;
    width: 100%;
    line-height: 40px;
    height: 40px;
    background: white;

    .status-item {
      margin: 0 auto;
      color: #b9a4a4c7;
    }
  }

  scroll-view {
    height: calc(100vh - 40px);

    .history-item {
      height: 190px;
      background: white;
      border-radius: 10px;
      margin: 10px 10px 20px;
  
      .top {
        display: flex;
        justify-content: space-around;
        height: 40px;
        line-height: 40px;
  
        & > text:nth-child(1) {
          font-size: 15px;
          color: red;
        }
  
        & > text:nth-child(3) {
          color: red;
        }
      }
  
      .main {
        width: 100%;
  
        scroll-view {
          width: 100%;
          height: 80px;
  
          .main-image {
            display: inline-block;
            //white-space: nowrap 可以保证内部子元素不会换行（此时父元素宽度默认为子元素撑开的宽度
            white-space: nowrap;
            image {
              width: 80px;
              height: 80px;
              margin-left: 18px;
              border-radius: 9px;
            }
          }
        }
  
        .main-bottom {
          display: flex;
          justify-content: space-between;
          margin: 6px 12px;
          font: normal 300 13px "微软雅黑"
  
         
        }
      }
  
      .bottom {
        margin-top: 10px;
        text-align: right;
  
        button {
          margin-right: 12px;
        }
      }
    }
  }
}

.active {
  border-bottom: 2px solid red;
  color: black!important;
}

.van-button {
  width: 200px;
  height: 40px;
}